package com.teamall.web.sys.db.dao.mapper;

import com.teamall.web.sys.db.arg.DropSysPhotoArg;
import com.teamall.web.sys.db.po.DropSysPhotoPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IDropSysPhotoMapper {
    
    List<Integer> countByArg(DropSysPhotoArg arg);

    List<DropSysPhotoPO> selectByArg(DropSysPhotoArg arg);

    DropSysPhotoPO selectByPrimaryKey(Integer id);

    List<DropSysPhotoPO> selectByArgAndPage(DropSysPhotoArg arg, RowBounds rowBound);

    int insert(DropSysPhotoPO record);

    int insertSelective(DropSysPhotoPO record);

    int insertBatch(@Param("list") List<DropSysPhotoPO> records);

    int updateByArgSelective(@Param("record") DropSysPhotoPO record,
            @Param("arg") DropSysPhotoArg arg);

    int updateByArg(@Param("record") DropSysPhotoPO record,
            @Param("arg") DropSysPhotoArg arg);

    int updateByPrimaryKeySelective(DropSysPhotoPO record);

    int updateByPrimaryKey(DropSysPhotoPO record);
    
    int deleteByArg(DropSysPhotoArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}